<!DOCTYPE html>
<html>

<head>
    {include file="common/meta" /}
</head>

<body class="form-wrap">
    <div class="layui-fluid">
        <div class="layui-card">
            <div class="layui-card-header">编辑管理员</div>
            <div class="layui-card-body" style="padding: 15px;">
                <form class="layui-form" method="post">
                    <!-- 管理员账号 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label" style="width:130px;">邮箱</label>
                        <div class="layui-input-block layui-col-lg4" style="margin-left:0;">
                            <input autocomplete="off" type="text" name="username" value="{$info.email}" placeholder="请输入邮箱" required
                                class="layui-input" disabled />
                        </div>
                    </div>

                    <!-- 管理员昵称 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label" style="width:130px;">昵称</label>
                        <div class="layui-input-block layui-col-lg4" style="margin-left:0;">
                            <input autocomplete="off" type="text" name="nickname" value="{$info.nickname}" placeholder="昵称" required
                                class="layui-input" />
                        </div>
                    </div>

                     <!-- 性别 -->
                     <div class="layui-form-item">
                        <label class="layui-form-label" style="width:130px;">性别</label>
                        <div class="layui-input-block layui-col-lg4" style="margin-left:0;">
                            <select name="sex" >
                                <option value="0" {$info.sex ? '' : 'selected'}>保密</option>
                                <option value="1" {$info.sex == 1 ? 'selected' : ''}>男</option>
                                <option value="2" {$info.sex == 2 ? 'selected' :''}>女</option>
                                
                            </select>
                        </div>
                    </div>

                    <!-- 管理员当前密码 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label" style="width:130px;">当前密码</label>
                        <div class="layui-input-block layui-col-lg4" style="margin-left:0;">
                            <input autocomplete="off" type="password" name="rspss" placeholder="当前密码" 
                                class="layui-input" />
                        </div>
                    </div>

                    <!-- 管理员密码 -->
                    <div class="layui-form-item">
                        <label class="layui-form-label" style="width:130px;">更改密码</label>
                        <div class="layui-input-block layui-col-lg4" style="margin-left:0;">
                            <input autocomplete="off" type="password" name="password" placeholder="更改密码" 
                                class="layui-input" />
                        </div>
                    </div>




                    <!-- 提交 -->
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <div class="layui-footer" style="left: 0;">
                                <button class="layui-btn">提交</button>
                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</body>

</html>